<style type="text/css" media="all">
.pages_btns {
margin-top:10px;
position:relative;
z-index:2;
margin-bottom:10px;
}
.pages_btns .postnewthread {
float:left;
}



.btn_sm {
font-size:14px;
height:30px;
line-height:33px;
vertical-align:middle;
}

.btn_sm {
display:inline-block;
overflow:hidden;
padding-left:5px;
}

.btn_sm,.btn_sm span {
background:url("{$bg_pic_url}image/icon.gif") no-repeat scroll 0 0 transparent;
}

.btn_sm span{
color:#FFFFFF;
font-weight:800;
}

.btn_sm span {
cursor:pointer;
float:left;
padding:0 10px 0 5px;
}

.btn_sm1,.btn_sm1 span {
background:url("{$bg_pic_url}image/bg_btn.gif");
}

.postnewthread em {
background-position:63px -598px;
display:block;
padding-right:8px;
}


.pages_btns .pages {
float:right;
margin-top:4px;
}

.pages {
overflow:hidden;
}
.pages_btns .pages ul {
float:right;
}

.pages ul {
height:21px;
overflow:hidden;
}

ol, ul, li {
list-style:none outside none;
}
.pages .select {
background-color:#839B1B;
}

.pages .select a, .pages .select a:visited {
border:1px solid #839B1B;
color:#FFFFFF;
}

.pages li a, .pages li a:visited {
color:#8F8F8F;
}

.pages li a {
border:1px solid #E3E4DD;
float:left;
font-family:Verdana;
font-size:14px;
height:19px;
line-height:19px;
overflow:hidden;
padding:0 6px;
vertical-align:middle;
}
.pages .nextpage a, .pages .nextpage a:visited {
background-position:47px 6px;
font-size:12px;
line-height:21px;
padding:0 14px 0 7px;
}

.pages .prevpage a, .pages .prevpage a:visited, .pages .nextpage a, .pages .nextpage a:visited, .pages .lastpage a, .pages .lastpage a:visited, .gopage button {
background-color:#FFFFFF;
background-image:url("{$bg_pic_url}image/bg_pages.png");
background-repeat:no-repeat;
}


.pages .lastpage a, .pages .lastpage a:visited {
background-position:6px -58px;
padding:0 0 0 19px;
width:60px;
}

.pages .gopage {
color:#5A5A5A;
line-height:23px;
margin-left:3px;
margin-right:0;
}

.pages li {
float:left;
height:21px;
line-height:21px;
margin-right:2px;
overflow:hidden;
}
.gopage span, .gopage input, .gopage button {
float:left;
line-height:23px;
overflow:hidden;
}
.gopage input {
border:1px solid #E3E4DD;
height:16px;
line-height:17px;
padding-top:2px;
}

.gopage input, .gopage button {
color:#5A5A5A;
font-size:12px;
margin:0 5px;
width:35px;
}

.gopage button {
background-position:0 -129px;
border:medium none;
color:#5A5A5A;
height:21px;
margin-right:0;
padding:0;
}
#forum_list .icon {
display:inline-block;
height:0;
margin:6px 3px 6px 0;
overflow:hidden;
padding-top:24px;
vertical-align:middle;
width:24px;
}

.pin_2_lock_folder {
background:url("{$bg_pic_url}image/d12624.gif") no-repeat scroll 2px 0 transparent;
}

.icon {
background-image:url("{$bg_pic_url}image/icon1.gif");
background-repeat:no-repeat;
}
em {
font-style:normal;
}
.pages .prevpage, .pages .lastpage {
width:21px;
}
.pages .prevpage a, .pages .prevpage a:visited {
background-position:7px -26px;
padding:0 0 0 19px;
width:0;
}

.pages .prevpage a, .pages .prevpage a:visited, .pages .nextpage a, .pages .nextpage a:visited, .pages .lastpage a, .pages .lastpage a:visited, .gopage button {
background-color:#FFFFFF;
background-image:url("{$bg_pic_url}image/bg_pages.png");
background-repeat:no-repeat;
}
</style>
<form >
<div class="pages_btns">
        <div class="postnewthread">
             <a title="" href="?app={$appname}&act=add" class="btn_sm" rel="nofollow">
                 <span><em class="icon">发表新帖</em></span>
             </a>&nbsp;


        </div>

       <div class="pages">
       <ul>
              <li class="prevpage"><a href="{FIELDLIST_PAGE.up}">上一页</a></li>  
                      
               <li class="select"><a>{FIELDLIST_PAGE.curr.num}</a></li>         
                          <!--{foreach(FIELDLIST_PAGE.plist as $_key => $_value )}-->  
                            <!--{if ($_key!=FIELDLIST_PAGE.curr.num)}-->
                            <li><a href="{$_value}">{$_key}</a></li>
                            <!--{/if}--> 				
                          <!--{/foreach}-->      
           <li class="nextpage"><a href="{FIELDLIST_PAGE.down}">下一页</a></li>
           <li class="lastpage"><a href="{FIELDLIST_PAGE.foot}">最后一页</a></li>
           <li class="gopage"><span>到第</span><input type="text" onkeydown="if(event.keyCode==13) {window.location='?app={$appname}&act=show&id={$_GET[id]}&page='+ (parseInt(this.value)?this.value:1) +''+''; return false;}" name="custompagelast" id="custompagelast" class="p_input" style="height:16px;"><span>页</span>
			<button onclick="window.location='?app={$appname}&act=show&id={$_GET[id]}&page='+ (parseInt(this.form.custompagelast.value)?this.form.custompagelast.value:1)+''+''; return false;">确定</button>
			</li>
        </ul>
       </div>
 <div class="clear"></div>      
</div>
</form>